home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 April / CHIP 1996 aprilis (CD06).zip / CHIP_CD06.ISO / sac / avir / vnlan.exe / HDVIRUS.BAT < prev    next >
DOS Batch File  |  1994-05-11  |  2KB  |  39 lines

  1. rem This Netware example sends a network console message, displays a user
  2. rem message, logs the workstation off the network and then freezes the
  3. rem system.  It can be run when the LANSD Task Scheduler detects a
  4. rem VirusNet/Pro Errorlevel of 3 (file/boot virus).
  5.  
  6. rem Since hard disk scans are usually performed only once per day, in the
  7. rem Task Scheduler DOS Return Code for this choice (Edit | Options button),
  8. rem do not mark the event as completed.  Then, the next time the workstation
  9. rem logs into the network, the daily hard disk scan event will take place
  10. rem again, even on the same day.  The workstation will be repeatedly logged
  11. ren off of the network until its hard disk is free from viruses.
  12.  
  13. rem Please consult your LANSD documentation for information on implementing
  14. rem Errorlevel detection, and the VirusNet/Pro manual to implement
  15. rem virus scanning.
  16.  
  17. rem Substitute the appropriate SEND and LOGOUT commands for your network.
  18.  
  19. rem A LANSD directory is made under the F:\LOGIN directory since the
  20. rem directory will still be accessible after the user is logged out of
  21. rem the network.  Copy your network's SEND and LOGOUT programs, the LANSD
  22. rem LOCKUP program, and this HDVIRUS batch file to the f:\login\lansd
  23. rem directory.  Grant Read and Execute privileges in this directory.
  24. rem Do not grant Write or Modify privileges to these files since they will
  25. rem be run on virus-infected workstations!
  26.  
  27. @echo off
  28. f:\login\lansd\send "Workstation hard disk virus!" console
  29. echo ┌────────────────────────────────────────────────────────┐
  30. echo │ Virus infection found on workstation hard disk!        │█
  31. echo │                                                        │█
  32. echo │ Logging workstation off of network!                    │█
  33. echo │                                                        │█
  34. echo │ Please contact John immediately at Ext. 123 for help.  │█
  35. echo └────────────────────────────────────────────────────────┘█
  36. echo  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  37. f:\login\lansd\logout
  38. f:\login\lansd\lockup
  39.